/* Form controls */
.form-group {
  position: relative;
  margin: 0 0 25px;
}
.form-control,
.form-control:focus {
  height: 42px;
}

.form-control,
.form-control:focus,
.has-error .form-control,
.has-error .form-control:focus {
  position: relative;
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
  display: block;
  font-size: 0.9em;
  margin: 0;
  padding: 10px 0 10px 0;
  width: 100%;
  background: transparent;
  text-align: left;
  color: inherit;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: none;
  font-family: 'Roboto', Helvetica, sans-serif;
}

textarea.form-control, textarea.form-control:focus {
  height: auto;
}

.form-control + .form-control-border {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #2eca7f;
  height: 2px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.form-control:focus + .form-control-border {
  left: 0;
  right: 0;
  z-index: 1;
}

.has-error .form-control + .form-control-border {
  background: #ff4c4c;
}

.form-group label {
  opacity: 0.4;
  position: absolute;
  top: 9px;
  font-size: 15px;
  font-weight: 400;
  color: #424242;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.form-group.form-group-focus label {
  top: -12px;
  font-size: 0.8em;
  z-index: 3;
}

/* Placeholders */
.form-control::-moz-placeholder {
  color: #9e9e9e;
}

.form-control:-ms-input-placeholder {
  color: #9e9e9e;
}

.form-control::-webkit-input-placeholder {
  color: #9e9e9e;
}
/* /Placeholders */

.form-group .help-block {
  position: absolute;
  display: inline-block;
  padding: 0px 5px;
  font-size: 0.8em;
  line-height: 1.5em;
  margin: -2px 0 0 10px;
  color: #ff4c4c;
  background: #f5f5f5;
}

.form-group .help-block:after {
  content: " ";
  position: absolute;
  left: 5px;
  bottom: 100%;
  width: 0;
  height: 0;
  border-bottom: 10px solid #f5f5f5;
  border-right: 10px solid transparent;
}
.form-group .help-block:empty {
  display: none;
}

.form-group-with-icon {
  padding-left: 40px;
}

.form-group-with-icon .form-control {
  padding-left: 12px;
}

.form-group-with-icon label {
  left: 52px;
}

.form-group-with-icon i {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 18px;
  width: 40px;
  text-align: center;
  line-height: 42px;
  height: 100%;
  color: #bdbdbd;
  background-color: #fafafa;
  border-bottom: 1px solid #e0e0e0;
}

.form-group-with-icon.form-group-focus i {
  color: #2eca7f;
}
/* /Form controls */

.no-padding {
  padding: 0;
}

.subpage-block {
  margin-bottom: 30px;
}

.text-rotation {
  display: block;
}

.center {
  text-align: center;
}

/* buttons */
.btn-primary,
.btn-secondary,
button, input[type="button"], input[type="submit"] {
  text-transform: uppercase;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.8;
  padding: 0 1.5em;
  outline: none;
  border: 0;
  border-radius: 3px;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
button, input[type="button"], input[type="submit"] {
  background-color: #2eca7f;
  color: #fff;
  border: 0;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.3);
}

.btn-primary:hover,
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.3);
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #fff;
  color: #212121;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.3);
}

.btn-secondary:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.3);
}


/* Contact info */
.contact-info-block {
  position: relative;
  text-align: left;
  width: 100%;
  display: block;
  margin: 0;
  padding: 10px 10px 10px 0;
}

.contact-info-block:last-child {
  margin-bottom: 30px;
}

.contact-info-block .ci-icon {
  position: absolute;
  top: 50%;
  margin-top: -18px;
  width: 36px;
  height: 36px;
  background-color: #fafafa;
  border-radius: 20px;
  text-align: center;
}

.ci-text {
  position: relative;
  padding-left: 50px;
}

.contact-info-block h5 {
  margin: 5px 0;
}

.contact-info-block i {
  position: relative;
  font-size: 18px;
  color: #2eca7f;
  text-align: center;
  line-height: 36px;
}
/* /Contact info */

/* Contact form */
.g-recaptcha {
  margin-bottom: 20px;
}
/* / Contact form */
